﻿using Abp.Domain.Entities;
using System;
using System.ComponentModel.DataAnnotations.Schema;

namespace AVIS.OutBound
{
    [Serializable]
    public abstract class AvisBaseEntity : AvisBaseEntity<int>, IEntity
    {
    }

    [Serializable]
    public abstract class AvisBaseEntity<TPrimaryKey> : Entity<TPrimaryKey>, ISoftDelete
    {
        /// <summary>
        /// 逻辑删除字段
        /// </summary>
        [Column("IsEnable")]
        public bool IsDeleted { get; set; }
    }
}
